<!-- HTML header for doxygen 1.8.6-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<title>OpenCV: cv::Point_&lt; _Tp &gt; Class Template Reference</title>
<link href="../../opencv.ico" rel="shortcut icon" type="image/x-icon" />
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="../../tutorial-utils.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
//<![CDATA[
MathJax.Hub.Config(
{
  TeX: {
      Macros: {
          matTT: [ "\\[ \\left|\\begin{array}{ccc} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{array}\\right| \\]", 9],
          fork: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ \\end{array} \\right.", 4],
          forkthree: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ \\end{array} \\right.", 6],
          forkfour: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ #7 & \\mbox{#8}\\\\ \\end{array} \\right.", 8],
          vecthree: ["\\begin{bmatrix} #1\\\\ #2\\\\ #3 \\end{bmatrix}", 3],
          vecthreethree: ["\\begin{bmatrix} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{bmatrix}", 9],
          cameramatrix: ["#1 = \\begin{bmatrix} f_x & 0 & c_x\\\\ 0 & f_y & c_y\\\\ 0 & 0 & 1 \\end{bmatrix}", 1],
          distcoeffs: ["(k_1, k_2, p_1, p_2[, k_3[, k_4, k_5, k_6 [, s_1, s_2, s_3, s_4[, \\tau_x, \\tau_y]]]]) \\text{ of 4, 5, 8, 12 or 14 elements}"],
          distcoeffsfisheye: ["(k_1, k_2, k_3, k_4)"],
          hdotsfor: ["\\dots", 1],
          mathbbm: ["\\mathbb{#1}", 1],
          bordermatrix: ["\\matrix{#1}", 1]
      }
  }
}
);
//]]>
</script><script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
<link href="../../stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<!--#include virtual="/google-search.html"-->
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="../../opencv-logo-small.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">OpenCV
   &#160;<span id="projectnumber">4.5.2</span>
   </div>
   <div id="projectbrief">Open Source Computer Vision</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../d2/d75/namespacecv.html">cv</a></li><li class="navelem"><a class="el" href="../../db/d4e/classcv_1_1Point__.html">Point_</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="../../d3/d62/classcv_1_1Point__-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">cv::Point_&lt; _Tp &gt; Class Template Reference<div class="ingroups"><a class="el" href="../../d0/de1/group__core.html">Core functionality</a> &raquo; <a class="el" href="../../dc/d84/group__core__basic.html">Basic structures</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>Template class for 2D points specified by its coordinates <code>x</code> and <code>y</code>.  
 <a href="../../db/d4e/classcv_1_1Point__.html#details">More...</a></p>

<p><code>#include &lt;opencv2/core/types.hpp&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:ac81cd00bbdd5d66cf87e32654596160e"><td class="memItemLeft" align="right" valign="top">typedef _Tp&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d4e/classcv_1_1Point__.html#ac81cd00bbdd5d66cf87e32654596160e">value_type</a></td></tr>
<tr class="separator:ac81cd00bbdd5d66cf87e32654596160e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a415ac41e8676210b06bcfaf23d7e6105"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d4e/classcv_1_1Point__.html#a415ac41e8676210b06bcfaf23d7e6105">Point_</a> ()</td></tr>
<tr class="memdesc:a415ac41e8676210b06bcfaf23d7e6105"><td class="mdescLeft">&#160;</td><td class="mdescRight">default constructor  <a href="#a415ac41e8676210b06bcfaf23d7e6105">More...</a><br /></td></tr>
<tr class="separator:a415ac41e8676210b06bcfaf23d7e6105"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8db927bb4ec0aa348367566cb6219c0f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d4e/classcv_1_1Point__.html#a8db927bb4ec0aa348367566cb6219c0f">Point_</a> (_Tp _x, _Tp _y)</td></tr>
<tr class="separator:a8db927bb4ec0aa348367566cb6219c0f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a58704d8c14d03c1fc738d87f6bf3d35c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d4e/classcv_1_1Point__.html#a58704d8c14d03c1fc738d87f6bf3d35c">Point_</a> (const <a class="el" href="../../db/d4e/classcv_1_1Point__.html">Point_</a> &amp;pt)</td></tr>
<tr class="separator:a58704d8c14d03c1fc738d87f6bf3d35c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afdc45cc80e589ff60b842782569f9304"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d4e/classcv_1_1Point__.html#afdc45cc80e589ff60b842782569f9304">Point_</a> (<a class="el" href="../../db/d4e/classcv_1_1Point__.html">Point_</a> &amp;&amp;pt) <a class="el" href="../../db/de0/group__core__utils.html#ga7b88772bee40b329b585a3a2157abd9b">CV_NOEXCEPT</a></td></tr>
<tr class="separator:afdc45cc80e589ff60b842782569f9304"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d82eb725fc94c259b4467db3eb2f17c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d4e/classcv_1_1Point__.html#a3d82eb725fc94c259b4467db3eb2f17c">Point_</a> (const <a class="el" href="../../d6/d50/classcv_1_1Size__.html">Size_</a>&lt; _Tp &gt; &amp;sz)</td></tr>
<tr class="separator:a3d82eb725fc94c259b4467db3eb2f17c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a60730a6fd845368d2323f62a186d8fe7"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d4e/classcv_1_1Point__.html#a60730a6fd845368d2323f62a186d8fe7">Point_</a> (const <a class="el" href="../../d6/dcf/classcv_1_1Vec.html">Vec</a>&lt; _Tp, 2 &gt; &amp;v)</td></tr>
<tr class="separator:a60730a6fd845368d2323f62a186d8fe7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a946769d5545dba5d328486602aae2ac3"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d4e/classcv_1_1Point__.html#a946769d5545dba5d328486602aae2ac3">cross</a> (const <a class="el" href="../../db/d4e/classcv_1_1Point__.html">Point_</a> &amp;pt) const</td></tr>
<tr class="memdesc:a946769d5545dba5d328486602aae2ac3"><td class="mdescLeft">&#160;</td><td class="mdescRight">cross-product  <a href="#a946769d5545dba5d328486602aae2ac3">More...</a><br /></td></tr>
<tr class="separator:a946769d5545dba5d328486602aae2ac3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7df967231a76a7c6c941ba170954ee8a"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d4e/classcv_1_1Point__.html#a7df967231a76a7c6c941ba170954ee8a">ddot</a> (const <a class="el" href="../../db/d4e/classcv_1_1Point__.html">Point_</a> &amp;pt) const</td></tr>
<tr class="memdesc:a7df967231a76a7c6c941ba170954ee8a"><td class="mdescLeft">&#160;</td><td class="mdescRight">dot product computed in double-precision arithmetics  <a href="#a7df967231a76a7c6c941ba170954ee8a">More...</a><br /></td></tr>
<tr class="separator:a7df967231a76a7c6c941ba170954ee8a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4728ce98be0240d836c4896021688aa5"><td class="memItemLeft" align="right" valign="top">_Tp&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d4e/classcv_1_1Point__.html#a4728ce98be0240d836c4896021688aa5">dot</a> (const <a class="el" href="../../db/d4e/classcv_1_1Point__.html">Point_</a> &amp;pt) const</td></tr>
<tr class="memdesc:a4728ce98be0240d836c4896021688aa5"><td class="mdescLeft">&#160;</td><td class="mdescRight">dot product  <a href="#a4728ce98be0240d836c4896021688aa5">More...</a><br /></td></tr>
<tr class="separator:a4728ce98be0240d836c4896021688aa5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48aaacb8db7971b6c42fa2d6717d12eb"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d4e/classcv_1_1Point__.html#a48aaacb8db7971b6c42fa2d6717d12eb">inside</a> (const <a class="el" href="../../d2/d44/classcv_1_1Rect__.html">Rect_</a>&lt; _Tp &gt; &amp;r) const</td></tr>
<tr class="memdesc:a48aaacb8db7971b6c42fa2d6717d12eb"><td class="mdescLeft">&#160;</td><td class="mdescRight">checks whether the point is inside the specified rectangle  <a href="#a48aaacb8db7971b6c42fa2d6717d12eb">More...</a><br /></td></tr>
<tr class="separator:a48aaacb8db7971b6c42fa2d6717d12eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a768b66c0a0c744924cc88c14f2322a"><td class="memTemplParams" colspan="2">template&lt;typename _Tp2 &gt; </td></tr>
<tr class="memitem:a3a768b66c0a0c744924cc88c14f2322a"><td class="memTemplItemLeft" align="right" valign="top">&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../db/d4e/classcv_1_1Point__.html#a3a768b66c0a0c744924cc88c14f2322a">operator Point_&lt; _Tp2 &gt;</a> () const</td></tr>
<tr class="memdesc:a3a768b66c0a0c744924cc88c14f2322a"><td class="mdescLeft">&#160;</td><td class="mdescRight">conversion to another data type  <a href="#a3a768b66c0a0c744924cc88c14f2322a">More...</a><br /></td></tr>
<tr class="separator:a3a768b66c0a0c744924cc88c14f2322a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a625700af6b447b0803907dc6d845a6b4"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d4e/classcv_1_1Point__.html#a625700af6b447b0803907dc6d845a6b4">operator Vec&lt; _Tp, 2 &gt;</a> () const</td></tr>
<tr class="memdesc:a625700af6b447b0803907dc6d845a6b4"><td class="mdescLeft">&#160;</td><td class="mdescRight">conversion to the old-style C structures  <a href="#a625700af6b447b0803907dc6d845a6b4">More...</a><br /></td></tr>
<tr class="separator:a625700af6b447b0803907dc6d845a6b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abf33cd1b15c729e84a3f6351b8a8f814"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../db/d4e/classcv_1_1Point__.html">Point_</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d4e/classcv_1_1Point__.html#abf33cd1b15c729e84a3f6351b8a8f814">operator=</a> (const <a class="el" href="../../db/d4e/classcv_1_1Point__.html">Point_</a> &amp;pt)</td></tr>
<tr class="separator:abf33cd1b15c729e84a3f6351b8a8f814"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af7eabb6f8ae98e26836a72983d309f06"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../db/d4e/classcv_1_1Point__.html">Point_</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d4e/classcv_1_1Point__.html#af7eabb6f8ae98e26836a72983d309f06">operator=</a> (<a class="el" href="../../db/d4e/classcv_1_1Point__.html">Point_</a> &amp;&amp;pt) <a class="el" href="../../db/de0/group__core__utils.html#ga7b88772bee40b329b585a3a2157abd9b">CV_NOEXCEPT</a></td></tr>
<tr class="separator:af7eabb6f8ae98e26836a72983d309f06"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a4c96fa7bdbfe390be5ed356edb274ff3"><td class="memItemLeft" align="right" valign="top">_Tp&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d4e/classcv_1_1Point__.html#a4c96fa7bdbfe390be5ed356edb274ff3">x</a></td></tr>
<tr class="memdesc:a4c96fa7bdbfe390be5ed356edb274ff3"><td class="mdescLeft">&#160;</td><td class="mdescRight">x coordinate of the point  <a href="#a4c96fa7bdbfe390be5ed356edb274ff3">More...</a><br /></td></tr>
<tr class="separator:a4c96fa7bdbfe390be5ed356edb274ff3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a157337197338ff199e5df1a393022f15"><td class="memItemLeft" align="right" valign="top">_Tp&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d4e/classcv_1_1Point__.html#a157337197338ff199e5df1a393022f15">y</a></td></tr>
<tr class="memdesc:a157337197338ff199e5df1a393022f15"><td class="mdescLeft">&#160;</td><td class="mdescRight">y coordinate of the point  <a href="#a157337197338ff199e5df1a393022f15">More...</a><br /></td></tr>
<tr class="separator:a157337197338ff199e5df1a393022f15"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;typename _Tp&gt;<br />
class cv::Point_&lt; _Tp &gt;</h3>

<p>Template class for 2D points specified by its coordinates <code>x</code> and <code>y</code>. </p>
<p>An instance of the class is interchangeable with C structures, CvPoint and CvPoint2D32f . There is also a cast operator to convert point coordinates to the specified type. The conversion from floating-point coordinates to integer coordinates is done by rounding. Commonly, the conversion uses this operation for each of the coordinates. Besides the class members listed in the declaration above, the following operations on points are implemented: </p><div class="fragment"><div class="line">pt1 = pt2 + pt3;</div><div class="line">pt1 = pt2 - pt3;</div><div class="line">pt1 = pt2 * a;</div><div class="line">pt1 = a * pt2;</div><div class="line">pt1 = pt2 / a;</div><div class="line">pt1 += pt2;</div><div class="line">pt1 -= pt2;</div><div class="line">pt1 *= a;</div><div class="line">pt1 /= a;</div><div class="line"><span class="keywordtype">double</span> value = <a class="code" href="../../dc/d84/group__core__basic.html#ga4e556cb8ad35a643a1ea66e035711bb9">norm</a>(pt); <span class="comment">// L2 norm</span></div><div class="line">pt1 == pt2;</div><div class="line">pt1 != pt2;</div></div><!-- fragment --><p> For your convenience, the following type aliases are defined: </p><div class="fragment"><div class="line"><span class="keyword">typedef</span> Point_&lt;int&gt; <a class="code" href="../../dc/d84/group__core__basic.html#ga0f70b52f0c0b119f7ed2448ffebdc144">Point2i</a>;</div><div class="line"><span class="keyword">typedef</span> Point2i <a class="code" href="../../dc/d84/group__core__basic.html#ga1e83eafb2d26b3c93f09e8338bcab192">Point</a>;</div><div class="line"><span class="keyword">typedef</span> Point_&lt;float&gt; <a class="code" href="../../dc/d84/group__core__basic.html#ga7d080aa40de011e4410bca63385ffe2a">Point2f</a>;</div><div class="line"><span class="keyword">typedef</span> Point_&lt;double&gt; <a class="code" href="../../dc/d84/group__core__basic.html#ga32986d8c6fd05949688352abd112509f">Point2d</a>;</div></div><!-- fragment --><p> Example: </p><div class="fragment"><div class="line">Point2f a(0.3f, 0.f), b(0.f, 0.4f);</div><div class="line">Point pt = (a + b)*10.f;</div><div class="line">cout &lt;&lt; pt.x &lt;&lt; <span class="stringliteral">&quot;, &quot;</span> &lt;&lt; pt.y &lt;&lt; endl;</div></div><!-- fragment --> </div><h2 class="groupheader">Member Typedef Documentation</h2>
<a id="ac81cd00bbdd5d66cf87e32654596160e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac81cd00bbdd5d66cf87e32654596160e">&#9670;&nbsp;</a></span>value_type</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _Tp&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef _Tp <a class="el" href="../../db/d4e/classcv_1_1Point__.html">cv::Point_</a>&lt; _Tp &gt;::<a class="el" href="../../db/d4e/classcv_1_1Point__.html#ac81cd00bbdd5d66cf87e32654596160e">value_type</a></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a415ac41e8676210b06bcfaf23d7e6105"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a415ac41e8676210b06bcfaf23d7e6105">&#9670;&nbsp;</a></span>Point_() <span class="overload">[1/6]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _Tp&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../db/d4e/classcv_1_1Point__.html">cv::Point_</a>&lt; _Tp &gt;::<a class="el" href="../../db/d4e/classcv_1_1Point__.html">Point_</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>default constructor </p>

</div>
</div>
<a id="a8db927bb4ec0aa348367566cb6219c0f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8db927bb4ec0aa348367566cb6219c0f">&#9670;&nbsp;</a></span>Point_() <span class="overload">[2/6]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _Tp&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../db/d4e/classcv_1_1Point__.html">cv::Point_</a>&lt; _Tp &gt;::<a class="el" href="../../db/d4e/classcv_1_1Point__.html">Point_</a> </td>
          <td>(</td>
          <td class="paramtype">_Tp&#160;</td>
          <td class="paramname"><em>_x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">_Tp&#160;</td>
          <td class="paramname"><em>_y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a58704d8c14d03c1fc738d87f6bf3d35c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a58704d8c14d03c1fc738d87f6bf3d35c">&#9670;&nbsp;</a></span>Point_() <span class="overload">[3/6]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _Tp&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../db/d4e/classcv_1_1Point__.html">cv::Point_</a>&lt; _Tp &gt;::<a class="el" href="../../db/d4e/classcv_1_1Point__.html">Point_</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../db/d4e/classcv_1_1Point__.html">Point_</a>&lt; _Tp &gt; &amp;&#160;</td>
          <td class="paramname"><em>pt</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="afdc45cc80e589ff60b842782569f9304"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afdc45cc80e589ff60b842782569f9304">&#9670;&nbsp;</a></span>Point_() <span class="overload">[4/6]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _Tp&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../db/d4e/classcv_1_1Point__.html">cv::Point_</a>&lt; _Tp &gt;::<a class="el" href="../../db/d4e/classcv_1_1Point__.html">Point_</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../db/d4e/classcv_1_1Point__.html">Point_</a>&lt; _Tp &gt; &amp;&amp;&#160;</td>
          <td class="paramname"><em>pt</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a3d82eb725fc94c259b4467db3eb2f17c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3d82eb725fc94c259b4467db3eb2f17c">&#9670;&nbsp;</a></span>Point_() <span class="overload">[5/6]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _Tp&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../db/d4e/classcv_1_1Point__.html">cv::Point_</a>&lt; _Tp &gt;::<a class="el" href="../../db/d4e/classcv_1_1Point__.html">Point_</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../d6/d50/classcv_1_1Size__.html">Size_</a>&lt; _Tp &gt; &amp;&#160;</td>
          <td class="paramname"><em>sz</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a60730a6fd845368d2323f62a186d8fe7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a60730a6fd845368d2323f62a186d8fe7">&#9670;&nbsp;</a></span>Point_() <span class="overload">[6/6]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _Tp&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../db/d4e/classcv_1_1Point__.html">cv::Point_</a>&lt; _Tp &gt;::<a class="el" href="../../db/d4e/classcv_1_1Point__.html">Point_</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../d6/dcf/classcv_1_1Vec.html">Vec</a>&lt; _Tp, 2 &gt; &amp;&#160;</td>
          <td class="paramname"><em>v</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a946769d5545dba5d328486602aae2ac3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a946769d5545dba5d328486602aae2ac3">&#9670;&nbsp;</a></span>cross()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _Tp&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="../../db/d4e/classcv_1_1Point__.html">cv::Point_</a>&lt; _Tp &gt;::cross </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../db/d4e/classcv_1_1Point__.html">Point_</a>&lt; _Tp &gt; &amp;&#160;</td>
          <td class="paramname"><em>pt</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>cross-product </p>

</div>
</div>
<a id="a7df967231a76a7c6c941ba170954ee8a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7df967231a76a7c6c941ba170954ee8a">&#9670;&nbsp;</a></span>ddot()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _Tp&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="../../db/d4e/classcv_1_1Point__.html">cv::Point_</a>&lt; _Tp &gt;::ddot </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../db/d4e/classcv_1_1Point__.html">Point_</a>&lt; _Tp &gt; &amp;&#160;</td>
          <td class="paramname"><em>pt</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>dot product computed in double-precision arithmetics </p>

</div>
</div>
<a id="a4728ce98be0240d836c4896021688aa5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4728ce98be0240d836c4896021688aa5">&#9670;&nbsp;</a></span>dot()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _Tp&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">_Tp <a class="el" href="../../db/d4e/classcv_1_1Point__.html">cv::Point_</a>&lt; _Tp &gt;::dot </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../db/d4e/classcv_1_1Point__.html">Point_</a>&lt; _Tp &gt; &amp;&#160;</td>
          <td class="paramname"><em>pt</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>dot product </p>

</div>
</div>
<a id="a48aaacb8db7971b6c42fa2d6717d12eb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a48aaacb8db7971b6c42fa2d6717d12eb">&#9670;&nbsp;</a></span>inside()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _Tp&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="../../db/d4e/classcv_1_1Point__.html">cv::Point_</a>&lt; _Tp &gt;::inside </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../d2/d44/classcv_1_1Rect__.html">Rect_</a>&lt; _Tp &gt; &amp;&#160;</td>
          <td class="paramname"><em>r</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>checks whether the point is inside the specified rectangle </p>

</div>
</div>
<a id="a3a768b66c0a0c744924cc88c14f2322a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3a768b66c0a0c744924cc88c14f2322a">&#9670;&nbsp;</a></span>operator Point_< _Tp2 >()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _Tp&gt; </div>
<div class="memtemplate">
template&lt;typename _Tp2 &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../db/d4e/classcv_1_1Point__.html">cv::Point_</a>&lt; _Tp &gt;::operator <a class="el" href="../../db/d4e/classcv_1_1Point__.html">Point_</a>&lt; _Tp2 &gt; </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>conversion to another data type </p>

</div>
</div>
<a id="a625700af6b447b0803907dc6d845a6b4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a625700af6b447b0803907dc6d845a6b4">&#9670;&nbsp;</a></span>operator Vec< _Tp, 2 >()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _Tp&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../db/d4e/classcv_1_1Point__.html">cv::Point_</a>&lt; _Tp &gt;::operator <a class="el" href="../../d6/dcf/classcv_1_1Vec.html">Vec</a>&lt; _Tp, 2 &gt; </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>conversion to the old-style C structures </p>

</div>
</div>
<a id="abf33cd1b15c729e84a3f6351b8a8f814"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abf33cd1b15c729e84a3f6351b8a8f814">&#9670;&nbsp;</a></span>operator=() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _Tp&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../db/d4e/classcv_1_1Point__.html">Point_</a>&amp; <a class="el" href="../../db/d4e/classcv_1_1Point__.html">cv::Point_</a>&lt; _Tp &gt;::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../db/d4e/classcv_1_1Point__.html">Point_</a>&lt; _Tp &gt; &amp;&#160;</td>
          <td class="paramname"><em>pt</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="af7eabb6f8ae98e26836a72983d309f06"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af7eabb6f8ae98e26836a72983d309f06">&#9670;&nbsp;</a></span>operator=() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _Tp&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../db/d4e/classcv_1_1Point__.html">Point_</a>&amp; <a class="el" href="../../db/d4e/classcv_1_1Point__.html">cv::Point_</a>&lt; _Tp &gt;::operator= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../db/d4e/classcv_1_1Point__.html">Point_</a>&lt; _Tp &gt; &amp;&amp;&#160;</td>
          <td class="paramname"><em>pt</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a4c96fa7bdbfe390be5ed356edb274ff3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4c96fa7bdbfe390be5ed356edb274ff3">&#9670;&nbsp;</a></span>x</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _Tp&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">_Tp <a class="el" href="../../db/d4e/classcv_1_1Point__.html">cv::Point_</a>&lt; _Tp &gt;::x</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>x coordinate of the point </p>

</div>
</div>
<a id="a157337197338ff199e5df1a393022f15"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a157337197338ff199e5df1a393022f15">&#9670;&nbsp;</a></span>y</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _Tp&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">_Tp <a class="el" href="../../db/d4e/classcv_1_1Point__.html">cv::Point_</a>&lt; _Tp &gt;::y</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>y coordinate of the point </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>opencv2/core/<a class="el" href="../../db/dfc/modules_2core_2include_2opencv2_2core_2types_8hpp.html">types.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.6-->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Apr 2 2021 11:36:43 for OpenCV by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
<script type="text/javascript">
//<![CDATA[
addTutorialsButtons();
//]]>
</script>
</body>
</html>
